const { generateService } = require('@umijs/openapi')

generateService({
  serversPath: './src/services',
  requestLibPath: "import request from '@/services/request'",
  schemaPath: 'http://127.0.0.1:5200/swagger-json',
  mock: false,
  projectName: 'auto',
})
